﻿using BonjourQuotation.UI.Models.BaseModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.VendorModel
{
    public class ManageVendorsGridViewModel : UserAllPermissionsViewModel
    {
        public double TopScrollPossition { get; set; }
        public List<ManageVendorsGridRowViewModel> Rows { get; set; }
        [DisplayName("Name:")]
        public string VendorNameText { get; set; }
        public List<SelectListItem> CitySearch { get; set; }
        [DisplayName("City:")]
        public string CitySearchText { get; set; }
        [DisplayName("Type:")]
        public List<SelectListItem> VendorSearchTypeID { get; set; }
        public string SelectedSearchVendorTypeID { get; set; }
        [DisplayName("Active:")]
        public List<SelectListItem> ActiveSearch { get; set; }
        public bool? IsActiveSearch { get; set; }
        [DisplayName("IsFind:")]
        public List<SelectListItem> IsFindSearch { get; set; }
        public bool? IsIsFindSearch { get; set; }
        [DisplayName("IsComp:")]
        public List<SelectListItem> IsCompSearch { get; set; }
        public bool? IsIsCompSearch { get; set; }
        public int PageNum { get; set; }
        public bool IsSearch { get; set; }
        public bool IsCanView { get; set; }
    }
    public class ManageVendorsGridRowViewModel
    {
        public int VendorID { get; set; }
        public string VendorName { get; set; }
        public string SelectedVendorTypeID { get; set; }
        public string City { get; set; }
        public bool IsActive { get; set; }
        public bool IsIsFind { get; set; }
        public bool IsIsComp { get; set; }
    }
}